Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The strangest problem with GenDBC
Message
 
 
To
06/04/2005 13:06:39
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01001976
Message ID:
01002009
Views:
19
Ok, the problem now may rest in peace.

Here is what is was for lurkers:

My colleague wrote a generic utility to create database using Excel files with tables definitions. He also had a program to generate view script, so we have view scripts for all our views. Now, we changed the table name but we didn't change the field name at that time. So, he generated view scripts and ran them. Then lately we changed the field name to match the table name. However, I think, we didn't fix this view script, so it was still wrong and was saved wrongly in the database, though if we open that view in the view designer, it was correct. This is a little bit of a mystery. Anyway, I fixed the view script and re-ran it. Now everything is fine.



>>Hi everybody,
>>
>>Quite recently we made structural changes with our Database. We renamed table Queue_Profiles into Employee_Queue_Profiles and therefore we also renamed PK field from cQueue_Profiles_Pk into cEmployee_Queue_Profiles_Pk. We made all necessary related changes. The database is good and running. However, when we use GenDBC to generate a program, we get this weird result
>
>Maybe it's finding the deleted records in the database? Backup, open dbc exclusively, do the cleanup, try again.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform