hello
i want to develop an application in which six images can be upload by user and stored into the db and if user wants to enter an additional image, delete the oldest image(i.e the image which inserted first to db);plz give me useful logic, information &links for above stated probelm;
thanx in advance
Question is not clear. Anyway I am suggesting a solution from what I understand from your question.
You can use timestamp as a column in db table and use min function to find the row with oldest timestamp. Then update that row's file name and timestamp with new file name and current timestamp. I think this will solve your problem
Related
I create Developer Metadata for each of the columns in the sheet.
If a new column gets created, I track it and create another developer metadata for it.
The process above works great until the user starts to move columns using Cut (cmd+x) and Paste (cmd+v).
When you cut and paste, the developer metadata is transferred to the destination column and as a result, you're ending with 2 metadata on the same column.
It gets more complicated when you do that process multiple times.
Eventually, I collect the changes and I see more than 1 metadata on a given column and I don't know which of them to choose.
Do you have an Idea how can I deal with that scenario?
The flow explained:
The user connect his google sheet document.
I go over his sheet and create metadata on the columns.
Name [444]
id [689]
Country [997]
Du
10
US
Re
30
US
The user is doing multiple changes on the sheet. One of the changes is cutting and pasting the column country over id. As a result, the column id gets removed but the metadata id we created stays on (Google Sheet API implementation)
Here is the new state:
Name [444]
Country [689, 997]
Du
US
Re
US
As you can see now, we have 2 metadata ids on the same column (Country). Why it is a problem for me? when I periodically collect the changes I recollect the metadata changes from the column. When I encounter two metadata ids on the same column I don't know which of them to choose.
So why can't I just select randomly? because I already have an existing mapping on my end and I don't know which of them to choose now. Take into account that the user may have changed the column name also so I can count on the column label.
Hi there and thank you for any support received in advance!
I have a Google Sheets document (https://docs.google.com/spreadsheets/d/1vKc1u1B_Yz8MOUX7x1dRucrKZepozqft18N_jkVAgX8/edit?usp=sharing) that has a list of towns in it and a series of default questions (about my fishing project).
I would like to be able to run some form of script or code that automatically changes the "XXXXXX" in any sentence and replaces it with a word from the list of towns. There will be 10 questions (once I have finished the project) and each line of the sheet will need to have questions for each individual town (with the name changed). If someone is able to help I would really appreciate it and you can change that document as much as you'd like (it is a demo that I have set up for the purpose of asking this question). I would also appreciate a short explanation as to how you achieve the required result so I can learn and apply this in the future (without having to come back to S.O everytime).
Thanks!
If you are ok with writing the default question in the header row (see the copy of the sheet I made) then you could use in B3
=Arrayformula(if(len(A3:A), substitute(B2:C2, "XXXXXX",A3:A),))
to create the output in the range B3:C.
If changing the range of the default questions is not an option you can check out the sheet 'JPV_2' where I entered in cell C3
=transpose(Arrayformula(if(len(A3:A), substitute(transpose(B3:B4), "XXXXXX",A3:A),)))
I hope that helps?
So I have an asknicely.com board that we get customer survey responses from.
I have a Monday.com board where I track these responses and our follow ups for management.
I am using a zapier zap, that filters the responses, that works. BUT it currently puts all the data I want into a new pulse in the first column only. Someone has to move it all manually into each column (me) after it arrives.
I am trying to develop a new zap that creates the pulse then puts the data into the correct columns. I have a zapier structure like this.
When this happens … New Response in AskNicely
Do this … New Pulse on a Board in monday.com
Do this … Update column B in Monday.com
Do this … Update column C in Monday.com
... etc.
My issue is that in order to update a now existing pulse (3 onwards) I have to populate Pulse Id1 2 3 field which accepts only a number.
Here are my questions;
Can I get Zapier to "catch" the pulse ID upon creation so I can save and reference it later?
Or can I retrieve the numerical pulse ID by searching with the text field I first created the pulse with? pulses.getID().contains(someaskicelyTextField);
Or lastly, is there a better approach to this than the one Im using?
I have a java background and its frustrating using these visual widgets instead of working in the actual code to do the above. I am new to both products so if this has been asked before I apologize.
spencemw, you can get the pulseID when you configure the zap.
On the 'Update column value' step, on the item ID, reference the parameter from the previous step.
(Make sure to click the 'show all options')
#Roy Nevo answered. Here are the screen shots for finding the data I was looking for.
I want to build an action in Zapier that winds up sending a random email. The body of the email would be randomly pulled from any source that would be appropriate for storing HTML. I was thinking Google Sheets or Knack.
My problem is, I can't figure out how to ask Zapier to get a random record from the source.
Have any of you done something similar?
David here, from the Zapier Platform team.
It really depends on how you store that data. Your first step is probably to add a code step that generates a random integer. From there, you need a way to turn that id into a piece of data. In the case of sheets, you could put each HTML in a row and give it an "id" of an integer. Then, do a search to find the row with the random ID and pull the data out of that row.
Alternatively (depending on how much data you're storing), you could use Storage by Zapier and a code step to do the whole process.
Hopefully that points you in the right direction!
I'm new to livecylce designer and since I can't find an answer to this simple question or the provided answers end up unsuccessfully in my case, I hope I can get some help here.
So all I wanna do is, showing all the values of a OLEDB data sources in a table. My problem is that only one row is shown in the table. I tried to wrap it in a subform, choose content 'flowed', and set the rows to repeat for every item. But it won't change anything. And yes I'm sure the query provides 2 rows and 3 columns, or at least thats whats returned in mssql.
Maybe I missed some fundamental understanding how this is supposed to work. Any advice greatly appreciated.
Thanks Alex