Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error "Alias currently not opened."

Status
Not open for further replies.

Rickinrsm

Technical User
Nov 3, 2004
130
0
0
US
This worked well before but for some reason it fails now with the "Alias currently not opened" error.

I tried changing the :Desert: to :MYDIR: etc., but this failed also.

Ideas anyone . . ???

Code:
method pushButton(var eventInfo Event)
var;----------------Declare Variables-------------
Desert               table
DesertChangeToTable  table
qbe			   query
endVar;-------------End Variable List-------------
addAlias("MYDIR","Standard","D:\\Pdoxwin7\\Desert\\Desert.db")
;----------------------------------------------------------------

qbe=Query

:Desert:DesertChangeToTable.db | OfficeID | NewOfficeName |
                               | _ID      | _Name |

:Desert:Desert.db | ListID | ListName |
	      	| _ID    | changeto _Name |

endquery
	if not qbe.executeQbe()then
errorShow()
	return
	endif

qbe=Query

:Desert:DesertChangeToTable.db | OfficeID | NewOfficeName |
                               | _ID      | _Name |

:Desert:Desert.db  | SellID | SellName        |
                   | _ID    | changeto _Name  |

endquery
	if not qbe.executeQbe()then
errorShow()
	return
	endif
endMethod

Rick ~ Access Newbie
 
Tony - I know you've had 16+ years with Paradox but I just don't know how you can understand it so intimately?

Thanks so much . . . Rick

ps . . . it worked of course.

Rick ~ Access Newbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top