Event: MadFox Monthly Meetup - Tuesday, November 19, 2024
6
#cal-reminder
Reminder: MadFox Monthly Meetup When: Tuesday, November 19, 2024 5:30pm to 8:00pm (UTC-06:00) America/Chicago Where: Sauk City Library Organizer: Eric Selje eric.selje@... 608-213-9567 View Event Description: Join us for our monthly get together. We can talk about anything development related. We started as a FoxPro group but now we talk about even more: Web Development, Mobile Development, Music, SQL Server and other databases, etc. We are meeting in person again, but will try to livestream the meeting as well thanks to Aceware! RSVP if you'd like to join us online.
|
javascript wierdness
Working with Vue.js Vuetify scripts. I had this function to display a status alert at the top of my page: showAlert(aMessage, aType) { this.alert = true; this.statusAlert = aMessage; this.alertType = aType; console.log(aType, aMessage); }, Tried to invoke it and got this error in the console: Filer.htm:505 Uncaught TypeError: this.showAlert is not a function Banged my head for a good hour trying to figure out what was going on. Finally added this code: onAlert(alertMsg,alertType) { console.log('got here'); console.log(alertMsg,alertType); this.alert = true; this.statusAlert = alertMsg; this.alertType = alertType; }, Called that, using the same parameters, initial tests worked. OK, that was odd, but whatever. I erased the showAlert code and changed all showAlert calls to onAlert. Now I¡¯m getting onAlert is not a function! Switched back to showAlert, some calls fail, other do not ¨C can¡¯t get anything to work consistently. Finally gave up on the idea of an alert function ¨C replaced all instances of showAlert(¡°message¡±,¡±type¡±) with commands to directly set statusAlert and alertType I have no idea WTF is wrong. FWIW, I ran my code thru a validator and got no complaints. Pasting the entire code block below in case someone with nothing better to do wants to look at it but as long as my workaround is functional I have minimal interest in messing further with this. --sg <script type="text/javascript"> new Vue({ el: '#app', vuetify: new Vuetify(), mounted() { console.log('Checking logon status'); ajaxJson("LogonStatus.scp", null, (response) => { console.log(response); this.oUser = response; if (this.oUser.level < 4) { alert('You do not have permission to access this page.'); window.open('SCPLogon.htm', '_self', 'noreferrer'); } else { this.onAlert = ('Logged on as ' + this.oUser.username, "success"); } }, (error) => { console.log('ERROR'); console.log(error.message); window.open('SCPLogon.htm', '_self', 'noreferrer'); }); const payLoad = { mode: "table" }; ajaxJson("/SCP/Getfiles.scp", payLoad, (response) => { console.log("Got tables"); this.tableList = response; console.log(this.tableList); }, (error) => { this.onAlert(error.message, "error"); }); return; }, data: () => ( { oUser: {}, date: new Date().toISOString().substr(0, 10), menu: false, menu2: false, menu3: false, alert: true, search: '', statusAlert: '', tableList: '', fieldList: [], selectedFields: [], queryString: "", logList: [], iniList: [{ filename: 'scp.ini' }], alertType: '', dataMode: 0, valid: true, tab: null, items: [], fieldPicker: false, menuItems: [ { text: 'Edit Profile', href: 'Patron.htm?id=:USER' }, { text: 'Log Off', href: 'SCPLogon.htm' }, ], tableName: "", selectedTable: { filename: '' }, selectedLog: { filename: '' }, selectedIni: { filename: '' }, logContent: "", iniContent: "", headers: [], fieldHeaders: [ { text: 'Field Name', align: 'start', value: 'fieldname', class: "grey accent-1" } ], pagination: { page: 1, rowsPerPage: 20 }, }), methods: { validate() { this.$refs.form.validate() }, resetValidation() { this.$refs.form.resetValidation() }, showAlert(aMessage, aType) { this.alert = true; this.statusAlert = aMessage; this.alertType = aType; console.log(aType, aMessage); }, onAlert(alertMsg,alertType) { console.log(alertMsg,alertType); this.alert = true; this.statusAlert = alertMsg; this.alertType = alertType; }, navigate(href) { console.log('navigating..' + href); window.location.href = href; }, genHeaders() { { //set having unique values let s = new Set(); this.items.forEach(item => { for (f in item) { //adding an existing value doesn't override the old one s.add(f) } }); //respect the headers format required by Vuetify which // should has at least two fields (text, value) return Array.from(s).map(a => { return { text: a.toUpperCase(), value: a } }); } }, goToLastPage() { const totalItems = this.items.length; const rowsPerPage = this.pagination.rowsPerPage; const lastPage = Math.ceil(totalItems / rowsPerPage); console.log('last', lastPage); this.pagination.page = lastPage; // Update the current page to the last }, goToFirstPage() { this.paginatio
|
Reports 101
4
The web app I worked on over the past several years did not directly use VFP reports, so my skills in that area have been seriously neglected. I¡¯m now in the process of porting an old desktop app to the web, but for this one I want to leverage my existing reports. When the user requests a report, I use FoxyPreviewer to send output to a PDF, which I then open in a new tab. This is working quite well, but it¡¯s meant having to relearn some pretty basic stuff. I just spent well over an hour trying to figure out how to edit a report data environment. I kept thinking I was missing something on the Report menu. Initial Google attempts kept pointing to sources that would start out with ¡°Open the Data Environment¡¡± For the record (and in the hope that if I write it down I¡¯ll remember it next time), it¡¯s under the View menu when the report designer is in scope. --sg Steven (Stein) Goering
|
Event: MadFox Monthly Meetup - Tuesday, October 15, 2024
5
#cal-reminder
Reminder: MadFox Monthly Meetup When: Tuesday, October 15, 2024 5:30pm to 8:00pm (UTC-05:00) America/Chicago Where: Sauk City Library Organizer: Eric Selje eric.selje@... 608-213-9567 View Event Description: Join us for our monthly get together. We can talk about anything development related. We started as a FoxPro group but now we talk about even more: Web Development, Mobile Development, Music, SQL Server and other databases, etc. We are meeting in person again, but will try to livestream the meeting as well thanks to Aceware! RSVP if you'd like to join us online.
|
Now: MadFox Monthly Meetup - Tuesday, October 15, 2024
#cal-notice
MadFox Monthly Meetup When: Tuesday, October 15, 2024 5:30pm to 8:00pm (UTC-05:00) America/Chicago Where: Sauk City Library Organizer: Eric Selje eric.selje@... 608-213-9567 View Event Description: Join us for our monthly get together. We can talk about anything development related. We started as a FoxPro group but now we talk about even more: Web Development, Mobile Development, Music, SQL Server and other databases, etc. We are meeting in person again, but will try to livestream the meeting as well thanks to Aceware! RSVP if you'd like to join us online.
|
Event: MadFox Monthly Meetup - Tuesday, October 15, 2024
#cal-reminder
Reminder: MadFox Monthly Meetup When: Tuesday, October 15, 2024 5:30pm to 8:00pm (UTC-05:00) America/Chicago Where: Sauk City Library Organizer: Eric Selje eric.selje@... 608-213-9567 View Event Description: Join us for our monthly get together. We can talk about anything development related. We started as a FoxPro group but now we talk about even more: Web Development, Mobile Development, Music, SQL Server and other databases, etc. We are meeting in person again, but will try to livestream the meeting as well thanks to Aceware! RSVP if you'd like to join us online.
|
Link for tonight
3
Feel free to join us MadFox Tuesday, September 17 ¡¤ 5:30 ¨C 8:30pm Time zone: America/Chicago Google Meet joining info Video call link: https://meet.google.com/ikj-pqsp-uju Starting presentation now! Eric
|
Now: MadFox Monthly Meetup - Tuesday, September 17, 2024
#cal-notice
MadFox Monthly Meetup When: Tuesday, September 17, 2024 5:30pm to 8:00pm (UTC-05:00) America/Chicago Where: Sauk City Library Organizer: Eric Selje eric.selje@... 608-213-9567 View Event Description: Join us for our monthly get together. We can talk about anything development related. We started as a FoxPro group but now we talk about even more: Web Development, Mobile Development, Music, SQL Server and other databases, etc. We are meeting in person again, but will try to livestream the meeting as well thanks to Aceware! RSVP if you'd like to join us online.
|
Event: MadFox Monthly Meetup - Tuesday, September 17, 2024
6
#cal-reminder
Reminder: MadFox Monthly Meetup When: Tuesday, September 17, 2024 5:30pm to 8:00pm (UTC-05:00) America/Chicago Where: Sauk City Library Organizer: Eric Selje eric.selje@... 608-213-9567 View Event Description: Join us for our monthly get together. We can talk about anything development related. We started as a FoxPro group but now we talk about even more: Web Development, Mobile Development, Music, SQL Server and other databases, etc. We are meeting in person again, but will try to livestream the meeting as well thanks to Aceware! RSVP if you'd like to join us online.
|
Brewers Game Tickets - More pictures
3
And here is a link to the pictures I took. https://www.jtooley.com/VFPUG_Brewers/ On 9/5/2024 9:57 AM, Eric Selje wrote:
|
Brewers Game Tickets
23
I was just curious how we were organizing the brewers game tickets. Is someone buying all of them and I pay them back or do I have to get my own? Jack
|
Brewers Game Tickets Schedule
18
Hi Guys ... For those who need it, attached is a map to my place. Considering travel time from my place to the park n ride lot on Hwy N / I-94 and thence onto the brewers stadium (90 Miles .. 1.5 hours) + time for a little tailgating ... Game at 1PM .... Is 10am a reasonable time to leave from my place? ... I can't remember when I've ever felt the need to use the word "thence" before this. On 8/22/2024 1:52 PM, Eric Selje wrote:
|
game
2
I'm bringing brats & buns. Anybody bringing condiments...? -- -- Cliff Cliff Smith / HawkRidge 1 (608) 373-4716 / cliff@...
|
Now: MadFox Monthly Meetup - Tuesday, August 20, 2024
#cal-notice
MadFox Monthly Meetup When: Tuesday, August 20, 2024 5:30pm to 8:00pm (UTC-05:00) America/Chicago Where: Sauk City Library Organizer: Eric Selje eric.selje@... 608-213-9567 View Event Description: Join us for our monthly get together. We can talk about anything development related. We started as a FoxPro group but now we talk about even more: Web Development, Mobile Development, Music, SQL Server and other databases, etc. We are meeting in person again, but will try to livestream the meeting as well thanks to Aceware! RSVP if you'd like to join us online.
|
Event: MadFox Monthly Meetup - Tuesday, August 20, 2024
2
#cal-reminder
Reminder: MadFox Monthly Meetup When: Tuesday, August 20, 2024 5:30pm to 8:00pm (UTC-05:00) America/Chicago Where: Sauk City Library Organizer: Eric Selje eric.selje@... 608-213-9567 View Event Description: Join us for our monthly get together. We can talk about anything development related. We started as a FoxPro group but now we talk about even more: Web Development, Mobile Development, Music, SQL Server and other databases, etc. We are meeting in person again, but will try to livestream the meeting as well thanks to Aceware! RSVP if you'd like to join us online.
|
Event: MadFox Monthly Meetup - Tuesday, August 20, 2024
#cal-reminder
Reminder: MadFox Monthly Meetup When: Tuesday, August 20, 2024 5:30pm to 8:00pm (UTC-05:00) America/Chicago Where: Sauk City Library Organizer: Eric Selje eric.selje@... 608-213-9567 View Event Description: Join us for our monthly get together. We can talk about anything development related. We started as a FoxPro group but now we talk about even more: Web Development, Mobile Development, Music, SQL Server and other databases, etc. We are meeting in person again, but will try to livestream the meeting as well thanks to Aceware! RSVP if you'd like to join us online.
|
|
Meeting - JT
2
I won't be available tomorrow. My wife has surgery scheduled at Meriter Hospital from 4-6 pm. Although not my first choice, I think it would be in my best long-term interest to be with her. On 7/22/2024 2:59 PM, Eric Selje wrote:
|
Now: MadFox Monthly Meetup - Tuesday, July 16, 2024
#cal-notice
MadFox Monthly Meetup When: Tuesday, July 16, 2024 5:30pm to 8:00pm (UTC-05:00) America/Chicago Where: Sauk City Library Organizer: Eric Selje eric.selje@... 608-213-9567 View Event Description: Join us for our monthly get together. We can talk about anything development related. We started as a FoxPro group but now we talk about even more: Web Development, Mobile Development, Music, SQL Server and other databases, etc. We are meeting in person again, but will try to livestream the meeting as well thanks to Aceware! RSVP if you'd like to join us online.
|
Event: MadFox Monthly Meetup - Tuesday, July 16, 2024
3
#cal-reminder
Reminder: MadFox Monthly Meetup When: Tuesday, July 16, 2024 5:30pm to 8:00pm (UTC-05:00) America/Chicago Where: Sauk City Library Organizer: Eric Selje eric.selje@... 608-213-9567 View Event Description: Join us for our monthly get together. We can talk about anything development related. We started as a FoxPro group but now we talk about even more: Web Development, Mobile Development, Music, SQL Server and other databases, etc. We are meeting in person again, but will try to livestream the meeting as well thanks to Aceware! RSVP if you'd like to join us online.
|