Thanks for the suggestions,although my error was a stupid one from my side
I had DBSetProp(&lcview...) instead of DBSetProp(lcview)
It's working as I write... =)
>Hi David,
>
>>It seem like it will work .. but now I have problem opening my database =)
>>the path to my database is stored in a variable called lcPAth (which look like C:\DATA\OPTSQ\CAS.DBC . So here's what I do.
>>
>> OPEN DATABASE (lcPath) EXCL
>> DBSetProp (........ )
>> CLOSE DATABASE ALL && it's supposed to be the only one anyway
>>
>>WHen I do this, it says that it cannot find the Alias ... Any other idea..?
>>
>
>Oh, I've got LOTS of ideas. <g>
>When do you get the error? on the Open database, DbSetProp() or the Close database?
>Assuming the DbSetProp(), does the view contain a free table? Or another view? If so, you should open them before issuing the DbSetProp()
>Also, I usually cd to the dbc directory before issuing the DbSetProp(). Not required, but just my practice.
>HTH,
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only