Good morning! I had an app that was working well (with thanks to the community for previous help). I have obviously made a change somewhere and now appear to have a broken reference. There is a table SItes with a key Site Utility e.g Southampton Gas. There is another table Gas Meter Readings with a reference to SItes and โIs Part Ofโ set on. So in testing I have entered meter reads and the Gas Readings table was properly updated with the reading and the reference to SItes picking up SIte Utility. Now itโs stopped working. I enter a reading but SIte Ref column doesnโt update to record the SIte Utility. I attach a screenshot of the Excel sheet showing the last entry missing the SIte Ref. I also attach screenshots of the reference columns from the two tables
I would guess your app doesnโt require the Site Ref column be filled in a form.
Hi Steve,
Youโre right I had not set it to require but itโs a Ref field and should be picked up from Sites table. I set it to Required but it makes no difference. Also, as a ref field itโs been working for
several weeks. Actually, perhaps thatโs not actually correct. I just remembered that in order to have a reasonable amount of data in there, I populated the fields in Excel and I think thatโs when this behaviour started. I have regenerated structure several
times since.
Denis
In one of the screenshots, it looks like your spreadsheet has filters on. Filters can cause problems. Try turning filters off?
Thanks but it makes no difference
Can you explain what you mean by this? I donโt understand โthe reference to SItes picking up SIte Utilityโ.
Steve,
Aleksi has also picked this up in support. I Just emailed him as below. When you say that you have entered data in testing can you clarify in what app. My current version (the one that doesnโt work
for me) is MeterReadingDevelopmentVersion. The column id e.g. Gas Meter Readings called Site Ref is not populated.
Hi Aleksi,
The two tables Gas Meter Readings and Electricity Meter Readings reference the Sites Table. The key to the Sites Table is Site Utility (e.g. Southampton Gasโ). The Sites table then has reverse references
to each of the readings tables. When I click on a given Site Utility I have an inline form to enter the meter readings in the appropriate readings table. Each readings table has a column called Site Ref that should be automatically populated with the Site
Utility value. That is not happening so the meter readings are not connected to anything. This worked very well until, somehow, I must have changed something and cannot now find that change. Do you want me to share the app with you?
Many thanks,
Denis
Aleksi from Appsheet found the problem. If the problem is thisโฆ when you fill the metering with the form, it doesnโt show the Site field (Ref). It doesnโt show because you have set the option โEditableโ to OFF. He was quite righ -once I Set the โEditableโ option to โONโ it worked. Thanks to all
Great, thanks for the update.
User | Count |
---|---|
43 | |
27 | |
24 | |
22 | |
13 |