Home > database >  A job dog cry... O great god teach
A job dog cry... O great god teach

Time:09-29

There is a database operation, is based on a student management system, the menu have student queries, curriculum query, query and result query elective courses,
When I was editing, with running is ok, no problem, for example, according to the department don't query student information, I don't the menu bar, drop-down department choose don't, in the form below will display the corresponding corresponding student information,
But, after I binding, like all the students, according to the statistical results such as student number, do not need to choose value, directly form the results of operation show form there is no problem, but, according to the table is read-only, can't edit,
May also be because of this reason, I according to the department of query student information, such as the need to choose the department don't different, according to different forms of information, there is a problem when I was running, I drop-down menu bar, don't change the system value, appear the error sound of "dong", no changes are made in the form below,
Add and delete students this kind of form, is the "add" and "delete" button is gray, is also said that table is read-only, can't edit,,,
Strives for the great god teach,,, heavy homework do several times, but I always don't understand, I have not set the read-only, why will appear this problem? Where can I solve this problem?? (kneeling bite handkerchief)

CodePudding user response:

After open the project, to see if your database/table included in the project, so, right-click on them, choose to Exclude (does not contain, eliminate), then recompile

->

CodePudding user response:

Even don't contain database and data table, in addition, the main program to join code - SET EXCLUSIVE OFF EXCLUSIVE data (cancelled)
  •  Tags:  
  • VFP
  • Related